The |flexor digitorum longus| muscle runs deep in the lower leg from the middle half of the |tibia| and tapers into a ~tendon~ that ends deep under the foot at the base of the distal phalanges of the little toes. It is attached to the |flexor hallucis longus| muscle, which flexes the big toe. These muscles work together to flex the toes during the final push-off in walking and running.